package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机组对象 sys_set
 *
 * @author ruoyi
 * @date 2023-11-28
 */
public class SysSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机组id */
    private Long id;

    /** 机组名称 */
    @Excel(name = "机组名称")
    private String setName;

    /** 风场id */
    @Excel(name = "风场id")
    private Long windId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 机组发电量 */
    @Excel(name = "机组发电量")
    private BigDecimal electric;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSetName(String setName)
    {
        this.setName = setName;
    }

    public String getSetName()
    {
        return setName;
    }
    public void setWindId(Long windId)
    {
        this.windId = windId;
    }

    public Long getWindId()
    {
        return windId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setElectric(BigDecimal electric)
    {
        this.electric = electric;
    }

    public BigDecimal getElectric()
    {
        return electric;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("setName", getSetName())
                .append("windId", getWindId())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("electric", getElectric())
                .toString();
    }
}
